package com.itmk.web.wx_user.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.itmk.web.wx_user.entity.WxUser;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;
import org.mybatis.spring.annotation.MapperScan;

@MapperScan
public interface WxUserMapper extends BaseMapper<WxUser> {
    @Select("select wxuser_id from max_id where id = 1")
    Long maxId();
    @Update("update max_id set wxuser_id = #{l} where id = 1")

    void updateMaxId(long l);
}
